package com.gpframework.common.pay.leshua.req;

/**
 * 
 * @author OTT
 *
 */
public class LeshuaOpenIdQeuryReq extends LeshuaBaseReq {

	/**
	 * 微信appid
	 */
	private String appid;
	
	/**
	 * 授权码
	 */
	private String auth_code;
	
	/**
	 * 
	 * @param merchantId
	 * @param appid
	 * @param auth_code
	 */
	@Deprecated
	public LeshuaOpenIdQeuryReq(String merchantId,String  appid,String auth_code){
		setService("query_openid");
		setMerchant_id(merchantId);
		setAppid(appid);
		setAuth_code(auth_code);
	}
	
	/**
	 * 
	 */
	public LeshuaOpenIdQeuryReq(){
		this.service = "query_openid";
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getAuth_code() {
		return auth_code;
	}

	public void setAuth_code(String auth_code) {
		this.auth_code = auth_code;
	}

	@Override
	public String toString() {
		return "LeshuaOpenIdQeuryReq [appid=" + appid + ", auth_code="
				+ auth_code + "]";
	}
	
}
